<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"  %>
<!DOCTYPE HTML>
<html>
  <head>
    <title>My JSP 'file.jsp' starting page</title>
    <link rel="stylesheet" type="text/css" href="static/bootstrap/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="static/css/wall.css" />
  </head>
  
  <body class="body">
	<%@ include file="top.jsp" %>
	<div class="container" style="padding-top:60px">
		<div class="row">
			<jsp:include page="left.jsp">
				<jsp:param value="folder" name="tag"/>
			</jsp:include>
			<div class="span9">
				<div style="padding-top:15px">
					<ul class="breadcrumb" style="margin-bottom:0px;border-radius:3px 3px 0px 0px;">
						<li>
							<i class="icon-th"></i>
							文件列表
						</li>
						<li style="float:right">
							<i class=""></i>
							<a class="link-black" href="folder.jspx?m=add" style="color:black">
								<i class="icon-plus"></i>
								新建文件夹
							</a>
						</li>
					</ul>
					
					<div class="wall">
						<table class="table">
							<thead>
								<tr>
									<th >
										<span></span>
										<span style="margin-left:40px">
											名称
										</span>
									</th>
									<th>文件个数</th>
									<th>大小</th>
									<th>创建者</th>
								</tr>
							</thead>
							<tbody>
								<c:forEach items="${requestScope.folderList }" var="folder">
									<tr>
										<td>
											<div>
												<span style="margin-right:15px">
													<img src="static/img/folder2.PNG" alt=""/>
												</span>
												<span>
													<a href="document.jspx?m=docList&id=${folder.id}&name=${folder.name }">${folder.name }</a>
												</span>
											</div>
										</td>
										<td>
											<span></span>
											<span style="margin-left:20px">${folder.number2}个</span>
										</td>
										<td>
											${folder.size2/1000} KB
										</td>
										<td>
											${folder.member.name }
										</td>
									</tr>
								</c:forEach>
							</tbody>
						</table>
					</div>
				</div>
			</div>
		</div>
	</div>
  </body>
</html>
